#-*- encoding: utf-8 -*-
'''
Created on 2011-5-6

@author: Bob
'''
from jxgame.globals.GlobalServerice import DataBaseInfo, GameServieAttribute,\
    GameServiceOption, GameServiceParameter

########################_#######################_#######################
class GameService:
    
    def __init__(self):
        self.module = ''
        self.user_db_info = DataBaseInfo()
        self.score_db_info = DataBaseInfo()
        self.game_service_attr = GameServieAttribute()
        self.game_service_option = GameServiceOption()
    
    def start_service(self,param):
        game_service_parameter = GameServiceParameter(param)
        self.module = game_service_parameter.Module
        self.game_service_option = game_service_parameter.GameServiceOption
        self.user_db_info = game_service_parameter.GameUserDBInfo
        self.score_db_info = game_service_parameter.GameScoreDBInfo
        
        
        
        pass
    
    def stop_service(self):
        pass
    